﻿/*******************************************************************************
 
 * Author: Dealin
 
 
*********************************************************************************/
using Dealin.Application.ReportManage;
using Dealin.Code;
using System.Web.Mvc;
namespace Dealin.Web.Areas.ReportManage.Controllers
{
    public class HistorysController : Controller
    {
        private ReportsApp app = new ReportsApp();
        
        public string Get_History_Meter_1(string typeTime, string startTime, string endTime, string deviceId)
        { 
            var json = app.Get_History_Meter_1(typeTime,startTime, endTime, deviceId);
            return json;
        }
        public string Get_History_Meter_2(string typeTime, string startTime, string endTime, string deviceId)
        {
            var json = app.Get_History_Meter_2(typeTime, startTime, endTime, deviceId);
            return json;
        }

        public string Get_History_Meter_3(string typeTime, string startTime, string endTime, string deviceId,string lineType)
        {
            var json = app.Get_History_Meter_3(typeTime, startTime, endTime, deviceId, lineType);
            return json;
        }
    }
}
